//
//  DNFeedingDao.h
//  DanoneEA
//
//  Created by 3ti_Jery on 16/10/19.
//  Copyright © 2016年 翔傲科技. All rights reserved.
//

#import "DNDataBase.h"
#import "DNFeedModel.h"

@interface DNFeedingDao : DNDataBase

+ (NSString *) getCreateSQL;

+ (NSString *) getInsertSQL;

/**
 *  add
 *
 */
- (BOOL)saveFeedModel:(DNFeedModel *) object;
- (BOOL)saveFeedModelWithArray:(NSArray *)objectList;

/**
 *  delete
 *
 */
- (BOOL)deleteFeedModelByAppId:(NSString *)appId;

/**
 *  update
 *
 */
- (BOOL)updateFeedModel:(DNFeedModel *)object;

- (BOOL)updateFeedModelByAppId:(NSString *)appId;

/**
 *  check
 *
 */
- (DNFeedModel *)getObjectModelByAppId:(NSString *)appId;



@end
